package com.smart.test;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @auther a123
 * @create 2018-08-11 11:08
 * @desc
 */
@Configuration
public class Beans {

    @Bean(name = "car")
    public Car getCar(){
        Car car = new Car();
        return car;
    }
}
